package com.happy_hao.msg.service;

import com.happy_hao.msg.common.Result;
import com.happy_hao.msg.dto.SenderRequest;
import jakarta.validation.Valid;

public interface SenderService {
    Result addSender(@Valid SenderRequest sender);

    Result getAllSenders();

    Result deleteSender(String username);

    Result updateSender(@Valid SenderRequest senderRequest);
}
